export default {
    data: {
        on_index: 0,
        indicator_text_nav_text:['推荐','男生','女生','图书','听书','必读榜'],
    },
    swipe(e) {
        if (e.direction == 'left' && this.on_index < 5) {
            ++this.on_index;
        }
        else if(e.direction == 'right' && this.on_index > 0){
            --this.on_index;

        }
    }
}
